var app = angular.module('app');

app.controller('navCtrl', ['$rootScope', '$scope', '$cookieStore', function ($rootScope, $scope, $cookieStore) {
    $scope.isModelShow = function (model) {
        var user = $cookieStore.get('book-user');
        if (!user) {
            return false;
        }

        return true;
    };
}]);